/** 信息 */
interface CustomerShippingDetailType {
  id: number;
  customerShippingId: string;
  customerId: string;
  shippingPerson: string;
  shippingMobile: string;
  shippingAddressDetail: string;
  shippingProvince: string | null;
  shippingProvinceId: string | null;
  delFlag: string;
  defaultFlag: string;
  createTime: number;
  modifyTime: number | null;
}

/** 客户资质 */
interface CustomerQualificationType {
  id: number;
  customerQualificationId: string;
  customerId: string;
  qualificationType: string;
  effectiveDate: string | null;
  expiredDate: string | null;
  qualificationImg: string;
  expFlag: string;
  delFlag: string;
  createTime: string;
  enableFlag: string | null;
  customerName: string | null;
}

export type customerInfoType = {
  customerId: string;
  customerName: string;
  account: string;
  invoiceTitle: string | null;
  taxpayerId: string;
  registeredAddress: string;
  registeredPhone: string | null;
  depositBank: string;
  bankAccount: string;
  token: string;
  customerShippingDetailList: CustomerShippingDetailType[];
  customerQualificationList: CustomerQualificationType[];
  customerCatList: any[];
  reminder: string;
};

/** 客户类型 */
type CustomerType = {
  customer: customerInfoType;
};

/** 登录用户信息 */
export type LoginResultType = {
  userName: string;
  password: string;
};

export type { CustomerType };
